
package de.dtools.n2g.sql;

/**
 *	@project:	note2go
 *	@author:	D.Toepel
 *	@version:	2009-08-04
 *	@note:		---
 *	
 *	Copyright (C) 2009  D.Toepel <de.dtools> {at} <gmail> {dot} <com>
 *	
 *	This program is free software: you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License as published by
 *	the Free Software Foundation, either version 3 of the License, or
 *	(at your option) any later version.
 *	
 *	This program is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *	
 *	You should have received a copy of the GNU General Public License
 *	along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *	
 */

public class DBResult
{
	protected boolean isReturnValue;
	protected String sqlComment;
	protected String[] columnHeader;
	protected String[][] rowContent;
	protected int columnCount;
	protected int rowCount ;
	
	public boolean isPassword = true;
	public boolean isDBExists = true;
	
	public void setReturnValue(boolean isReturnValue)
	{
		this.isReturnValue = isReturnValue;
	}

	public boolean getReturnValue()
	{
		return isReturnValue;
	}
	
	public String getSqlComment()
	{
		return sqlComment;
	}

	public void setSqlComment(String sqlComment)
	{
		this.sqlComment = sqlComment;
	}

	public String[] getColumnHeader()
	{
		return columnHeader;
	}

	public void setColumnHeader(String[] columnHeader)
	{
		this.columnHeader = columnHeader;
	}

	public String[][] getRowContent()
	{
		return rowContent;
	}

	public void setRowContent(String[][] rowContent)
	{
		this.rowContent = rowContent;
	}

	public int getColumnCount()
	{
		return columnCount;
	}

	public void setColumnCount(int columnCount)
	{
		this.columnCount = columnCount;
	}

	public int getRowCount()
	{
		return rowCount;
	}

	public void setRowCount(int rowCount)
	{
		this.rowCount = rowCount;
	}

}

